package com.food.model;

import java.time.LocalDateTime;

public class UserProfile {
    private Integer profileId;
    private Integer userId;
    private String name = "";
    private String gender = "未设置";
    private Integer age = 0;
    private Double height = 0.0;
    private Double weight = 0.0;
    private String activityLevel = "中等";
    private LocalDateTime updatedAt;

    public static final String DEFAULT_ACTIVITY_LEVEL = "中等";
    public static final String[] VALID_ACTIVITY_LEVELS = {"低", "中等", "高"};

    public static final String GENDER_MALE = "男";
    public static final String GENDER_FEMALE = "女";
    public static final String GENDER_UNSET = "未设置";

    public UserProfile() {
    }

    public Integer getProfileId() {
        return profileId;
    }

    public void setProfileId(Integer profileId) {
        this.profileId = profileId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Double getHeight() {
        return height;
    }

    public void setHeight(Double height) {
        this.height = height;
    }

    public Double getWeight() {
        return weight;
    }

    public void setWeight(Double weight) {
        this.weight = weight;
    }

    public String getActivityLevel() {
        return activityLevel;
    }

    public void setActivityLevel(String activityLevel) {
        this.activityLevel = activityLevel;
    }

    public LocalDateTime getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(LocalDateTime updatedAt) {
        this.updatedAt = updatedAt;
    }
} 